package com.example.mvp.view

import android.app.Activity
import android.os.Bundle
import com.example.mvp.presenter.IPresenter

abstract class BaseActivity<P : IPresenter> : Activity(),IActivity{

     lateinit var mypre:P

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(findlayout())
        initView()
        initData()
    }

}